import Recat from 'react'

const Name = (props) => {
	return (
		<>
			<h5>网站名称：{props.Name}</h5>
		</>
	)
}

const Url = (props) => {
	return (
		<>
			<h5>
				<a href={props.url}>{props.name}</a>
			</h5>
		</>
	)
}

const SubAll5 = () => {
	return (
		<>
			<div className="nav2">
                <h4>5.同个文件里面，组件之间可互相传值</h4>
				<Name Name={'qq'} />
				<Url url={'http://www.zongxiong.xyz'} name={'棕熊的项目'}></Url>
			</div>
		</>
	)
}

export default SubAll5
